<?php
class Ev_Mail extends Zend_Mail
{
    /**
     * Sends this email using the given transport or a previously
     * set DefaultTransport or the internal mail function if no
     * default transport had been set.
     *
     * @param  Zend_Mail_Transport_Abstract $transport
     * @return Zend_Mail                    Provides fluent interface
     */
    public function send ($transport = null)
    {
        if ('development' == APPLICATION_ENV) {
            return true;
        }
        return parent::send($transport);
    }
}